<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Encrypted file transfer: /home/marco/dev/comm/protocol.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Encrypted file transfer
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('protocol_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">protocol.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;sys/types.h&gt;</code><br/>
<code>#include &lt;sys/stat.h&gt;</code><br/>
<code>#include &lt;errno.h&gt;</code><br/>
<code>#include &lt;fcntl.h&gt;</code><br/>
<code>#include &lt;ctype.h&gt;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;sys/time.h&gt;</code><br/>
<code>#include &lt;time.h&gt;</code><br/>
<code>#include &lt;features.h&gt;</code><br/>
</div>
<p><a href="protocol_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structxprotocol__t.html">xprotocol_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a69d5826243a85b53e972f18927e1604e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a69d5826243a85b53e972f18927e1604e">PROTO_LIBRARY_SIZE</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:a69d5826243a85b53e972f18927e1604e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0efe825fa9e0d0776526bee6f7d830a5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a0efe825fa9e0d0776526bee6f7d830a5">PROTO_NAME_LENGTH</a>&#160;&#160;&#160;5</td></tr>
<tr class="separator:a0efe825fa9e0d0776526bee6f7d830a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6773b93f3093658c3dcb569de3b4bdb2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a6773b93f3093658c3dcb569de3b4bdb2">MAX_FILENAME_LENGTH</a>&#160;&#160;&#160;FILENAME_MAX</td></tr>
<tr class="separator:a6773b93f3093658c3dcb569de3b4bdb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeca034f67218340ecb2261a22c2f3dcd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#aeca034f67218340ecb2261a22c2f3dcd">BUFSIZE</a>&#160;&#160;&#160;512</td></tr>
<tr class="separator:aeca034f67218340ecb2261a22c2f3dcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade4c06414722e68d0198b151bac6439d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#ade4c06414722e68d0198b151bac6439d">CLOCK_ID</a>&#160;&#160;&#160;CLOCK_MONOTONIC</td></tr>
<tr class="separator:ade4c06414722e68d0198b151bac6439d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ccbc506509feda9eb5a11b5bd8a66dc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a9ccbc506509feda9eb5a11b5bd8a66dc">PLAIN_PUT</a>&#160;&#160;&#160;&quot;PP000&quot;</td></tr>
<tr class="separator:a9ccbc506509feda9eb5a11b5bd8a66dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06bdb8bc388cbbe0fa88c25697c9b75a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a06bdb8bc388cbbe0fa88c25697c9b75a">PLAIN_GET</a>&#160;&#160;&#160;&quot;PG000&quot;</td></tr>
<tr class="separator:a06bdb8bc388cbbe0fa88c25697c9b75a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a9d8461ddb36f20d32c4113434861ac"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a4a9d8461ddb36f20d32c4113434861ac">MAOM_PUT</a>&#160;&#160;&#160;&quot;MAOMP&quot;</td></tr>
<tr class="separator:a4a9d8461ddb36f20d32c4113434861ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aded3e6ad5111ff8d1fe9994dcf23ed59"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#aded3e6ad5111ff8d1fe9994dcf23ed59">MAOM_GET</a>&#160;&#160;&#160;&quot;MAOMG&quot;</td></tr>
<tr class="separator:aded3e6ad5111ff8d1fe9994dcf23ed59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9dabdb57992a3957027111ff1942c2c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#ac9dabdb57992a3957027111ff1942c2c">CTRL_SIZE</a>&#160;&#160;&#160;3</td></tr>
<tr class="separator:ac9dabdb57992a3957027111ff1942c2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba51915c87d64af47fb1cc59348961c9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#aba51915c87d64af47fb1cc59348961c9">OK</a>&#160;&#160;&#160;&quot;100&quot;</td></tr>
<tr class="separator:aba51915c87d64af47fb1cc59348961c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8de29f7c8bbf1a81cc6e71ac602032d3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a8de29f7c8bbf1a81cc6e71ac602032d3">FILENAME</a>&#160;&#160;&#160;&quot;110&quot;</td></tr>
<tr class="separator:a8de29f7c8bbf1a81cc6e71ac602032d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8049c678a855a57b1030eab386393a8f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a8049c678a855a57b1030eab386393a8f">FILESIZE</a>&#160;&#160;&#160;&quot;115&quot;</td></tr>
<tr class="separator:a8049c678a855a57b1030eab386393a8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09c0ab0fcf23a96c1300df12dabb9612"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a09c0ab0fcf23a96c1300df12dabb9612">BEGIN_FILE_TRANSMISSION</a>&#160;&#160;&#160;&quot;120&quot;</td></tr>
<tr class="separator:a09c0ab0fcf23a96c1300df12dabb9612"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af10c706d5c35b6fc557c1f5feb5352eb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#af10c706d5c35b6fc557c1f5feb5352eb">END_FILE_TRANSMISSION</a>&#160;&#160;&#160;&quot;130&quot;</td></tr>
<tr class="separator:af10c706d5c35b6fc557c1f5feb5352eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6918d3c3cf459930ac47e713f064870d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a6918d3c3cf459930ac47e713f064870d">GENERAL_WARNING</a>&#160;&#160;&#160;&quot;300&quot;</td></tr>
<tr class="separator:a6918d3c3cf459930ac47e713f064870d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50dc55ad0c63c1a98915c65ad81962ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a50dc55ad0c63c1a98915c65ad81962ad">FILE_CUT_TO_DECLARED_SIZE</a>&#160;&#160;&#160;&quot;290&quot;</td></tr>
<tr class="separator:a50dc55ad0c63c1a98915c65ad81962ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb00992efca56626cdf0907e5edb5b51"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#acb00992efca56626cdf0907e5edb5b51">KO</a>&#160;&#160;&#160;&quot;400&quot;</td></tr>
<tr class="separator:acb00992efca56626cdf0907e5edb5b51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef113f145ad544ae7347e10a6ca317eb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#aef113f145ad544ae7347e10a6ca317eb">PROTOCOL_ERROR</a>&#160;&#160;&#160;&quot;390&quot;</td></tr>
<tr class="separator:aef113f145ad544ae7347e10a6ca317eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe53049e43e4e79ecf7c4063835c4428"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#abe53049e43e4e79ecf7c4063835c4428">SERVER_ERROR</a>&#160;&#160;&#160;&quot;380&quot;</td></tr>
<tr class="separator:abe53049e43e4e79ecf7c4063835c4428"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a1b1c25133bb36265f0acf7477e8e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a00a1b1c25133bb36265f0acf7477e8e2">FILENAME_LENGTH_ERROR</a>&#160;&#160;&#160;&quot;370&quot;</td></tr>
<tr class="separator:a00a1b1c25133bb36265f0acf7477e8e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a775241e32b7ccb12e344ae23aa2db6b1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a775241e32b7ccb12e344ae23aa2db6b1">FILE_NOT_FOUND</a>&#160;&#160;&#160;&quot;360&quot;</td></tr>
<tr class="separator:a775241e32b7ccb12e344ae23aa2db6b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fa617685fe8b2541d118e82c2092328"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a7fa617685fe8b2541d118e82c2092328">CLIENT_ERROR</a>&#160;&#160;&#160;&quot;350&quot;</td></tr>
<tr class="separator:a7fa617685fe8b2541d118e82c2092328"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a53a45e5bfa8921af754097ee6a02f642"><td class="memItemLeft" align="right" valign="top">typedef int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a53a45e5bfa8921af754097ee6a02f642">proto_module_t</a> )(int socket_descriptor)</td></tr>
<tr class="separator:a53a45e5bfa8921af754097ee6a02f642"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51289e64344e52297123cda15008c3bd"><td class="memItemLeft" align="right" valign="top">typedef int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a51289e64344e52297123cda15008c3bd">client_module_t</a> )(int socket_descriptor, const char *filename)</td></tr>
<tr class="separator:a51289e64344e52297123cda15008c3bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac851c29c26c03f25155d82adaada4014"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#ac851c29c26c03f25155d82adaada4014">proto_get_protocol_code</a> (int socket_descriptor, char *proto_name)</td></tr>
<tr class="separator:ac851c29c26c03f25155d82adaada4014"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab25c6487e37049b4495c8ce9737c2eba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="protocol_8h.html#a53a45e5bfa8921af754097ee6a02f642">proto_module_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#ab25c6487e37049b4495c8ce9737c2eba">proto_lookup</a> (const char *proto_name)</td></tr>
<tr class="separator:ab25c6487e37049b4495c8ce9737c2eba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff77cc7594d5e7bf73bba0111201b771"><td class="memItemLeft" align="right" valign="top"><a class="el" href="protocol_8h.html#a51289e64344e52297123cda15008c3bd">client_module_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#aff77cc7594d5e7bf73bba0111201b771">client_lookup</a> (const char *proto_name)</td></tr>
<tr class="separator:aff77cc7594d5e7bf73bba0111201b771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c3cd7cda7ec9b4be4d8176a0223244b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a8c3cd7cda7ec9b4be4d8176a0223244b">proto_init_library</a> ()</td></tr>
<tr class="separator:a8c3cd7cda7ec9b4be4d8176a0223244b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf4ad03750e4dc1c4fb7ef3dfc603511"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#abf4ad03750e4dc1c4fb7ef3dfc603511">proto_plain_put</a> (int socket_descriptor)</td></tr>
<tr class="separator:abf4ad03750e4dc1c4fb7ef3dfc603511"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4991c680adc37a7841e8a1cc0c6bf993"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a4991c680adc37a7841e8a1cc0c6bf993">proto_plain_get</a> (int socket_descriptor)</td></tr>
<tr class="separator:a4991c680adc37a7841e8a1cc0c6bf993"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa017bbd7175269e542630580f737c3cc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#aa017bbd7175269e542630580f737c3cc">maom_get</a> (int socket_descriptor)</td></tr>
<tr class="separator:aa017bbd7175269e542630580f737c3cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad46a83933764d43960bacaf3792fa277"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#ad46a83933764d43960bacaf3792fa277">maom_put</a> (int socket_descriptor)</td></tr>
<tr class="separator:ad46a83933764d43960bacaf3792fa277"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab83695a10cb1349b704a5d083cd519d6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#ab83695a10cb1349b704a5d083cd519d6">client_plain_get</a> (int socket_descriptor, const char *filename)</td></tr>
<tr class="separator:ab83695a10cb1349b704a5d083cd519d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22f537a1b34dac5b2ffb6064f5082652"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a22f537a1b34dac5b2ffb6064f5082652">client_plain_put</a> (int socket_descriptor, const char *filename)</td></tr>
<tr class="separator:a22f537a1b34dac5b2ffb6064f5082652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42a5e494db0d8577b4169ffad038f446"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a42a5e494db0d8577b4169ffad038f446">client_maom_get</a> (int socket_descriptor, const char *filename)</td></tr>
<tr class="separator:a42a5e494db0d8577b4169ffad038f446"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f7846943c980060eb26757c155c8c75"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a1f7846943c980060eb26757c155c8c75">client_maom_put</a> (int socket_descriptor, const char *filename)</td></tr>
<tr class="separator:a1f7846943c980060eb26757c155c8c75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb7d6e26bb22986630d83d48399e8d1f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#adb7d6e26bb22986630d83d48399e8d1f">proto_expect_command</a> (int socket_descriptor, const char *command)</td></tr>
<tr class="separator:adb7d6e26bb22986630d83d48399e8d1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f6e333d7821f4dc1a2105414a73e259"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a3f6e333d7821f4dc1a2105414a73e259">proto_send_command</a> (int socket_descriptor, const char *command)</td></tr>
<tr class="separator:a3f6e333d7821f4dc1a2105414a73e259"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab317a4b5fae174c50e993b8498c682e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#ab317a4b5fae174c50e993b8498c682e5">proto_goodbye_failure</a> (int socket_descriptor, const char *command)</td></tr>
<tr class="separator:ab317a4b5fae174c50e993b8498c682e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47f900fbd264cbc9f968d05f83cbfc27"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a47f900fbd264cbc9f968d05f83cbfc27">clean_filename</a> (char *filename)</td></tr>
<tr class="separator:a47f900fbd264cbc9f968d05f83cbfc27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac363fe1082eefee61957cb913f6b90ca"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#ac363fe1082eefee61957cb913f6b90ca">timespec_subtract</a> (struct timespec *result, struct timespec *x, struct timespec *y)</td></tr>
<tr class="separator:ac363fe1082eefee61957cb913f6b90ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ab9f2c1ca2c8b7d68cafa3713c78ad517"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structxprotocol__t.html">xprotocol_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#ab9f2c1ca2c8b7d68cafa3713c78ad517">proto_library</a> [<a class="el" href="protocol_8h.html#a69d5826243a85b53e972f18927e1604e">PROTO_LIBRARY_SIZE</a>]</td></tr>
<tr class="separator:ab9f2c1ca2c8b7d68cafa3713c78ad517"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f08e73819ff416ce3cf1e5143e03071"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_8h.html#a2f08e73819ff416ce3cf1e5143e03071">proto_library_members</a></td></tr>
<tr class="separator:a2f08e73819ff416ce3cf1e5143e03071"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a09c0ab0fcf23a96c1300df12dabb9612"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BEGIN_FILE_TRANSMISSION&#160;&#160;&#160;&quot;120&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00094">94</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeca034f67218340ecb2261a22c2f3dcd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BUFSIZE&#160;&#160;&#160;512</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00023">23</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7fa617685fe8b2541d118e82c2092328"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CLIENT_ERROR&#160;&#160;&#160;&quot;350&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00107">107</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="ade4c06414722e68d0198b151bac6439d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CLOCK_ID&#160;&#160;&#160;CLOCK_MONOTONIC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00024">24</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac9dabdb57992a3957027111ff1942c2c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CTRL_SIZE&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00088">88</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="af10c706d5c35b6fc557c1f5feb5352eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define END_FILE_TRANSMISSION&#160;&#160;&#160;&quot;130&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00095">95</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a50dc55ad0c63c1a98915c65ad81962ad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FILE_CUT_TO_DECLARED_SIZE&#160;&#160;&#160;&quot;290&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00099">99</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a775241e32b7ccb12e344ae23aa2db6b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FILE_NOT_FOUND&#160;&#160;&#160;&quot;360&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00106">106</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8de29f7c8bbf1a81cc6e71ac602032d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FILENAME&#160;&#160;&#160;&quot;110&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00092">92</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a00a1b1c25133bb36265f0acf7477e8e2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FILENAME_LENGTH_ERROR&#160;&#160;&#160;&quot;370&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00105">105</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8049c678a855a57b1030eab386393a8f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FILESIZE&#160;&#160;&#160;&quot;115&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00093">93</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6918d3c3cf459930ac47e713f064870d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENERAL_WARNING&#160;&#160;&#160;&quot;300&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00098">98</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="acb00992efca56626cdf0907e5edb5b51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KO&#160;&#160;&#160;&quot;400&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00102">102</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="aded3e6ad5111ff8d1fe9994dcf23ed59"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAOM_GET&#160;&#160;&#160;&quot;MAOMG&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00051">51</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4a9d8461ddb36f20d32c4113434861ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAOM_PUT&#160;&#160;&#160;&quot;MAOMP&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00050">50</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6773b93f3093658c3dcb569de3b4bdb2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_FILENAME_LENGTH&#160;&#160;&#160;FILENAME_MAX</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00022">22</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="aba51915c87d64af47fb1cc59348961c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OK&#160;&#160;&#160;&quot;100&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00091">91</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a06bdb8bc388cbbe0fa88c25697c9b75a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PLAIN_GET&#160;&#160;&#160;&quot;PG000&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00049">49</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9ccbc506509feda9eb5a11b5bd8a66dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PLAIN_PUT&#160;&#160;&#160;&quot;PP000&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00048">48</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a69d5826243a85b53e972f18927e1604e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PROTO_LIBRARY_SIZE&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00020">20</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0efe825fa9e0d0776526bee6f7d830a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PROTO_NAME_LENGTH&#160;&#160;&#160;5</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00021">21</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="aef113f145ad544ae7347e10a6ca317eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PROTOCOL_ERROR&#160;&#160;&#160;&quot;390&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00103">103</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="abe53049e43e4e79ecf7c4063835c4428"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SERVER_ERROR&#160;&#160;&#160;&quot;380&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00104">104</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a51289e64344e52297123cda15008c3bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int(*  client_module_t)(int socket_descriptor, const char *filename)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00027">27</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a53a45e5bfa8921af754097ee6a02f642"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int(*  proto_module_t)(int socket_descriptor)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00026">26</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a47f900fbd264cbc9f968d05f83cbfc27"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int clean_filename </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00593">593</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="aff77cc7594d5e7bf73bba0111201b771"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="protocol_8h.html#a51289e64344e52297123cda15008c3bd">client_module_t</a> client_lookup </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>proto_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00071">71</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="a42a5e494db0d8577b4169ffad038f446"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int client_maom_get </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="proto__maom_8c_source.html#l00026">26</a> of file <a class="el" href="proto__maom_8c_source.html">proto_maom.c</a>.</p>

</div>
</div>
<a class="anchor" id="a1f7846943c980060eb26757c155c8c75"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int client_maom_put </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="proto__maom_8c_source.html#l00030">30</a> of file <a class="el" href="proto__maom_8c_source.html">proto_maom.c</a>.</p>

</div>
</div>
<a class="anchor" id="ab83695a10cb1349b704a5d083cd519d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int client_plain_get </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00481">481</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="a22f537a1b34dac5b2ffb6064f5082652"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int client_plain_put </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00406">406</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="aa017bbd7175269e542630580f737c3cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int maom_get </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="proto__maom_8c_source.html#l00008">8</a> of file <a class="el" href="proto__maom_8c_source.html">proto_maom.c</a>.</p>

</div>
</div>
<a class="anchor" id="ad46a83933764d43960bacaf3792fa277"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int maom_put </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="proto__maom_8c_source.html#l00018">18</a> of file <a class="el" href="proto__maom_8c_source.html">proto_maom.c</a>.</p>

</div>
</div>
<a class="anchor" id="adb7d6e26bb22986630d83d48399e8d1f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int proto_expect_command </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>command</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00082">82</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="ac851c29c26c03f25155d82adaada4014"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void proto_get_protocol_code </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>proto_name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00027">27</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="ab317a4b5fae174c50e993b8498c682e5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void proto_goodbye_failure </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>command</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00139">139</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="a8c3cd7cda7ec9b4be4d8176a0223244b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void proto_init_library </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00011">11</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="ab25c6487e37049b4495c8ce9737c2eba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="protocol_8h.html#a53a45e5bfa8921af754097ee6a02f642">proto_module_t</a> proto_lookup </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>proto_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00060">60</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="a4991c680adc37a7841e8a1cc0c6bf993"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int proto_plain_get </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00270">270</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="abf4ad03750e4dc1c4fb7ef3dfc603511"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int proto_plain_put </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00150">150</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="a3f6e333d7821f4dc1a2105414a73e259"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int proto_send_command </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>socket_descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>command</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00124">124</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<a class="anchor" id="ac363fe1082eefee61957cb913f6b90ca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int timespec_subtract </td>
          <td>(</td>
          <td class="paramtype">struct timespec *&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct timespec *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct timespec *&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8c_source.html#l00611">611</a> of file <a class="el" href="protocol_8c_source.html">protocol.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="ab9f2c1ca2c8b7d68cafa3713c78ad517"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structxprotocol__t.html">xprotocol_t</a> proto_library[<a class="el" href="protocol_8h.html#a69d5826243a85b53e972f18927e1604e">PROTO_LIBRARY_SIZE</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00035">35</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2f08e73819ff416ce3cf1e5143e03071"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int proto_library_members</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="protocol_8h_source.html#l00036">36</a> of file <a class="el" href="protocol_8h_source.html">protocol.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_48915bc83c3e9a2c33920cc086982b8a.html">comm</a></li><li class="navelem"><a class="el" href="protocol_8h.html">protocol.h</a></li>
    <li class="footer">Generated on Sun Nov 16 2014 15:38:22 for Encrypted file transfer by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
